com.highdeal.rangetable.hci
Enum RangeTableClassModel.LastRange

java.lang.Object
  extended by java.lang.Enum<RangeTableClassModel.LastRange>
      extended by com.highdeal.rangetable.hci.RangeTableClassModel.LastRange
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RangeTableClassModel.LastRange>
Enclosing class:
RangeTableClassModel

public static enum RangeTableClassModel.LastRange
extends java.lang.Enum<RangeTableClassModel.LastRange>

This enumeration lists all the definitions for a range upper bound (bounded, unbounded).

The possible last range types are:

XML API for HCI

The XML APIs specify the following XSD fragment:

XSD Fragment

<xs:simpleType name="LastRangeType">
   <xs:restriction base="xs:string">
     <xs:enumeration value="bounded" />
     <xs:enumeration value="unbounded" />
   </xs:restriction>
 </xs:simpleType>


Enum Constant Summary
BOUNDED
          Range is left and right bounded.
UNBOUNDED
          Range is only left bounded.
 
Method Summary
 int getId()
           
 java.lang.String getPrettyName()
           
static RangeTableClassModel.LastRange getValueTypeFromId(int id)
           
static RangeTableClassModel.LastRange valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RangeTableClassModel.LastRange[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BOUNDED

public static final RangeTableClassModel.LastRange BOUNDED
Range is left and right bounded.


UNBOUNDED

public static final RangeTableClassModel.LastRange UNBOUNDED
Range is only left bounded.

Method Detail

values

public static RangeTableClassModel.LastRange[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (RangeTableClassModel.LastRange c : RangeTableClassModel.LastRange.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static RangeTableClassModel.LastRange valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getId

public int getId()

getPrettyName

public java.lang.String getPrettyName()

getValueTypeFromId

public static final RangeTableClassModel.LastRange getValueTypeFromId(int id)

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)